Rising costs are a top issue ahead of midterms.