fix #38 correct precedence for conditionals