Prevent possibility to select NaN for an hour, minute and second value.