Fixed some bugs in questionSelectionByType

should work fine now