Fix for filtering `MaxRowsPerPage`

See #1367