Getting valid substitutions to work for subsumption