Fix null references in IfMatch.