Argument isn't numeric in numeric eq (==)