Fix for NumberPicker.getValue wrong assertion

Discovered today wrong assert. Please accept