Added a parameter, isDuplicateQuery to all methods in QueryUtility