Fix bugs connected with sympy Point issues.