Ensure that OnDemandList aways removes an even number of rows
Pagination: update total to the data length