fixed bug in availability of question check
Merge pull request #217 from adamarla/master

fixed bug in availability of question check