Filter function of topics;