Fix search not working because of changed topic tree format

Test Plan:
- Search wasn't working, search now is