Fixed question generation bug