Coded the function to disregard hypernodes which do not contribute to any unification.