Stack slot group removement bug fix