Fix processLimitOffset