Could you add some input validation (!= null, limit > 0, offset >= 0) on offset and limit please?