Fix for xhr_paging crudify option

This is a fix for crudify's xhr_paging option, Ticket #2290