fixed if-statement regarding if there are questions present or not