CS-5127: Fixes filtering topics functionality