Fix retrieveRecords to account for the BUSY_LOADING state.