Better page fetch code structure and error detection. Used for handling "noRecordsMatch" in PMH.