Dreams are just your brain's way of "compressing files" to keep the fresh information up front and tuck the rest away in case you need it later.
If you see the Ex 10 or 20 years from now you'll still recognize them right away as someone you used to bang, but you'll have to think about it for a while to recall anything of substance.