fix issue with pagination param passed to record view