Fixed method isNumeral()