Use consistent quoting in query