Fix to prevent 'begin_instance_op' recursion issue.