I am really confused. If I use braces and invert the if, I get an empty if branch and an else with the action.