fix deletions of apartments, goups and meters