Make sure to rewrite content if there exists a match.