Fixed unintended conversion to numeric when only 1 x variable (Lines 182 + 183)