I am working on a blog listing that only includes three topics to begin with, it works using the code below but this breaks the /tag/ pages if I go to a tag page of a topic that isn't included in the below. I tried to add an IF statement for tags to change the query back to content in contents but can't get it to work.
{% set topic_posts = blog_recent_topic_posts(59843484546, ['upcoming-events', 'physical-event','webinar']) %}