Add nesting to case alternatives