Fix paginate on memberships