Issues with overwritting MIDI CC

Hi,
I am experiencing huge problems with overwriting MIDI CCs in Nuendo. Something weird is going on in my Nuendo rig - other DAWs work fine. Please have a look at the attached screenshot. It shows 3 passes of recording CC1. It seems that my Nuendo doesn’t overwrite all the values but only some of them. I tried three different controllers and the results are the same. I changed the settings in Midi/CC automation to all possible settings and nothing works. Any ideas why?

Thanks for your help,
Przemek