Account for macro expansion in match-if