It isn't a perfect inflation hedge, no one is claiming that. You are cherry picking a single interval where the correlation is negative. If you zoom out, you'll find that the correlation is mostly positive. Past correlation is also not predictive of future results.