check for real before checking for integer

In Scheme, "60.0" is considered an integer and a real.