Bugfix: Invalid number check was't working.