Avoid PHP warning when retrieving empty list of questions