fix bug with adding labels when a filter is active