this is no longer needed with the if statement right?    This didnt' work before due to the improper comparison 
operation_name == operation.name

should have been 

operation_name == operation.new.name

so you may have thought it was meant for something different.  It was in fact just broken.