Checking Fractions in parseOrderedPair

I have been successful at getting the coding for checking ordered pairs and providing feedback using this:

ans = parseOrderedPair(this.latex)
isCorrect = numericValue(ans.x) = -1 and numericValue(ans.y) = -2
correct: isCorrect
disableEvaluation: true
showSubmitButton: true
submitLabel: “Check my Answers”
resetLabel: when this.submitted (when isCorrect “:white_check_mark:” otherwise “:x:”) otherwise “”

However, now I have a coordinate point with fractions. I have tried different variations of this and it just won’t show me correct on the teacher dashboard nor in the student feedback. The correct coordinate is (-1/3, 7/3).

ans = parseOrderedPair(this.latex)
isCorrect1 = (numericValue(ans.x) >= -0.3 and numericValue(ans.x) < -0.4)
isCorrect2 = (numericValue(ans.y) >= 2.3 and numericValue(ans.y) < 2.4)
correct: isCorrect1 and isCorrect2
disableEvaluation: true
showSubmitButton: true
submitLabel: “Check my Answers”
resetLabel: when this.submitted (when isCorrect1 and isCorrect2 “:white_check_mark:” otherwise “:x:”) otherwise “”

Your isCorrect1 inequalities are reversed.