Context
Currently the search results will be rendered using the getAllRefsInReflistOrder in MWGroupReferences. MWGroupReferences builds an index for refs and subrefs using mainRefKey. That needs to change. We need to do something similar but with the mainListIndex only.
Task
- Build the search results correctly independent of main ref nodes in main+details cases
- Make sure the main content can be seen independent of main ref nodes in main+details cases