Bug 922282 - Prevent invalid paging count being generated, which caused some crashes