Minor optimization

- Optimized getQuestionsAnswered method slightly; only loop if necessary