RC1: Error in Cornerstone_Condition_Rules class: function current_post_term

I noticed that the Element Conditions relating to if the current post has a specific term were not working. In the php_errorlog I was also getting the following errors:

Undefined variable: term in ....../pro/cornerstone/includes/classes/common/class-condition-rules.php on line 216
Trying to get property 'taxonomy' of non-object in ....../pro/cornerstone/includes/classes/common/class-condition-rules.php on line 216

Line 216 is as follows: return has_term( $term_id, $term->taxonomy );
But $term is not defined within current_post_term, compared to a similar function at line 71 where it is defined.

Copying line 71 to the current_post_term function fixed the issue and Element Conditions based on Terms for the current post worked again.

Thank you! This was super helpful. Fixed for next patch.