Avoid PHP warning when retrieving empty list of questions
Merged from 5.2