Trying to fix issues with Undoing groups.