Fix issue with pagination in mass edit