Fix wqf of MatchAll replacements