Added a check to make sure user input is a valid and choosable space