fixed issue where objects with anchors in higher level files and only usage in lower level files don't get properly rereferenced