Fixed typo in QueryManager