e7df2335b6
This was a regression caused by MDL-6340. I missed the necessary
AND parent = 0 AND hidden = 0
in one query of the question table.