fix so object templates do not wipe out existing resource links.  New
Unit test is added to test this out