Keep only last 40 valid CMSDIST tags for every queue.
No run if empty.