[TIMOB-9028] Fixed bug when not prompting and invalid value was specified.