Fix code freeing cached non-A(AAA) records too early

No match.