Fixed bug in removing groupings.