Fixing numeric check.