Queries with a semicolon at the end fail

This is confusing for the user as the error message from Tableau is not meaningful. This PR fails queries with ; in them.