It should probably check against Integer and not Fixnum since values can be Bignum as well (both are Integers).