Fixed handling of wrong values entered by the user.
Authored by: hagru 2013-04-13
Parent: [r104]
Child: [r106]