Common: fix wrong variable name in math.IsInt, closes #2