Moved Query class back into wagtailsearch