[CORE-5855] massage total when metadata and data store out of sync

When the metadata database has favorite files and folders that do not exist, the total in the paged favorite list is reduced to the number in the data store.  This only happens on the last page.