Fixed a bug where a point was checked against the integer naming the variable (!) instead of the variable itself.