FIX: flaky specs after topic view custom filters (PR #13019)

When ensuring TopicView class variables return to the original state it should use empty Hash instead of empty Array. That

GitHub