Why some homes sit on the market longer than others