Custom actions not working since last update (if - else statement only takes else)

Can you please explain this better?