Fixed MathTree getSolve() method where it will add an extra bracket to
the end of the an equation.