I accidentally learned how to fix the problem.
I read somewhere that you could wrap your clean but still smelling plastic containers in damp newspapers and put them in the freezer over the night. That should make the bad smell go away.
Well, I misunderstood the instructions a little bit and...