Fixes syntax problem with case statement.