Fix bug with number based inputs.