Fixed: nested cases weren't working.