Refs #8534. Fix compiler warning.

Switch needed a default value.