Fix logic in Allcontinue to determine whether to decompose case