Fixed bug in shift switch form.

Form no longer crashes if user pushes "Switch" button without actually
selecting a shift to switch to.