Only use quoteidentifiers when raw query is false
Merge pull request #751 from janmeier/master

Fix for problems with quoteidentifiers