fixed a bug when deleting all items from a filter selection