Make sure we handle query.limit and query.offset