add topics.topic.id param for filtering content
protect against returning null values from PrefixInTree