When $viewValue is undefined (unsure why that happens) use $modelValue.

Ticket 822111.