JCR-2260 : Query does not work well with QueryImpl.setOffset() and setLi...

JCR-2260 : Query does not work well with QueryImpl.setOffset() and setLimit()