solved: case of 0 or 1 question returned by db.select_random query