Correctly check expressions in statements.