GEOT-4813: fixed Query and UniqueVisitor limits interactions