Fix getQuestions bug