Added error for bad case clauses.