Fix _makesubst(): must restrict substitution to the parents of the objects not including the objects themselves.
Fix _makesubst(): must restrict substitution to the parents of the
objects not including the objects themselves.

icatproject/python-icat