Added ability to remove references to deleted questions from questionnaire questions