Fix syntax error on bad if/else/elif