Remove orphaned divs that was breaking group edit template