Fix ambiguous trailing if.