Fixed crash when hitting refresh too soon.