Fixing a bug where `case` expressions were evaluated in the scope of the macro.