isNaN asserts on numbers