recordIndex has an invalid value after adding/removing a record to/from the store.