Fixed bug where the questionaire could not be saved because not questionnaire was specified