Tolerate misplaced commas and parentheses