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.
Seems like this is a valid SQL:
```
SELECT * FROM X WHERE A =";" ;
```
So simple ```indexOf``` is not enough. The ultimate solution to this problem is to hunt the bug that cause the crash I guess.