The important thing is that you shouldn't read too much into these dreams - your brain is simply processing old routines and stress patterns that got ingrained over the years. That's completely normal and doesn't necessarily mean you're not processing things properly. Our brain stores these recurring situations like a default program, and especially when the job was stressful, these dreams can be stubborn and stick around even when you've emotionally moved on from that job.
The reason is that your subconscious is still pulling up these stress experiences to kind of prepare you for similar situations in the future. That's evolutionarily based - your body learned that this job meant stress, and it's reminding you of that. The fact that you don't miss the job doesn't change that. Over time these dreams should decrease, but two years is actually not that long for such deep programming. It's also possible that you currently have new stressors in your new job that trigger similar patterns - sometimes your brain mixes old and new anxiety dreams together.
What I'd recommend: try to make your new job as different as possible. Different routines, different break habits, maybe even work in a different space - that helps your brain understand that something different is normal now. And if the dreams are really getting to you, it can help not to take them so seriously and just move on. Most people report that this sorts itself out after a while if you don't put too much energy into it.