I would say, if you run into him, you run into him. It doesnt mean you love your husband any less. And, also, you cant control what you dream about unless you are lucid dreaming.
You have the ring on your finger, if you run into your ex he is going to see it and if he is any decent person he'll keep an emotional distance. Be cordial if you bump into him, but let it pass like wind that blows for a bit and then dies down. It's impermanent, a memory from the past that IS a part of you, but not a part of your present. I think you know that.
We know you love your husband.