Made Query to be better represented as a Python string.