Delete mappings when they have no more services.