Bug fixes in Question generation module