Whoops. Switched if expression order.