bugfix: object2subterm should return null in case object is not
contained by root