optimize find previous questionnaire
Merge pull request #266 from arnaudbey/previousQ

optimize find previous questionnaire