erete::get-intercondition-tests now tests if atom is a variable before
  trying to find it in previous conditions