GEOT-4813: fixed Query and UniqueVisitor limits interactions
Merge pull request #486 from mbarto/geot_4813_fix

GEOT-4813: fixed Query and UniqueVisitor limits interactions