Made debug messages respect the fact that an Equation may have only one
Expression and therefore not throw array index out of bounds exception