Fixing an issue where headings were not removed when there was no users in that group left