Fix problem where questions with no parent are added to the wrong list

Previously, we'd add an `undefined` entry to the questions-by-parent list. 
Fixed! I need to remember that things are more obtuse in mobile for performance reasons .