Changed casing of pendingRecords to pendingrecords