Fix newline detection for case clauses.