The earlier pessimism was sparked by an aggressive series of interest-rate hikes.