Fixes a bug where retrieving not-yet-loaded records from a nested store will lock those records as EMPTY and fail to update them when they load into the master store. Includes unit test.