Offset/limit logic added to QueryProcessor