Added event dispatch when the number of filtered branches changes