Query parsing is now thread safe