fixed a bug in checkIntegerish handling complex numbers