Mortgage rates have been volatile lately. And if you’re thinking about buying a home, that can make it harder to plan.