Kiwi has it bang on. Your dreams are your subconscious sorting things out from the waking hours. Sometimes you can solve something when you enter REM that you were working on hours before you went asleep, because your mind is still processing it.
There are tons of times where I went to sleep in the middle of solving a puzzle and I would solve it while sleeping or in the state before sleep. Your mind slows down and picks up on it so you have an easier time to catch what you did not see before.
In your case, I would go with your gut. Usually our dreams try to tell us something and have little bits of true meaning based off of what we think. If its rational or makes sence, then I would listen or atleast concider.