Fix issue with characterization failing on warnings