Fixed a severe bug in ResourceManager that would stall load operations
if a bulk of loaded resources includes one or more resource collections
but these have already been loaded.