If you had been thinking about that someone who you hate and then you dream that someone you hate shows up at your doorstep, maybe your subconscious brain hints to you to consider reconciliation. There might be some redeeming qualities of that person, which triggered your brain to activate this memory and play it in a dream.