Properly update the bags when a filter is toggled.