when a filterGroup has no filterItems during a remove then remove the
filter groups