Could you add brackets here around this if? I realize it was broken before... but this could be a good time to clean it up.