Fix bug where build items that reference a dependency that reference another build item got mistakenly added to the set of objects to reload from disk.