Fixed deleting last group