[Bug 3626] range checking in numeric edit box behaves badly