Fixing obj ref issue in gitwidmongo inherit and getclean inherit