Removed older versions from the source list in the create/edit compound
document page.
Added deep check to eliminate circular reference.