Fixes bug introduced in 360a69b5.

In this bug, the create session panel did not work 
because it was not properly validating.