Fix for DB list pagination