Fixed pagination for ndb models