Pulse sensor of 965 with 21.22 version is doing weird things

My pulse sensor has always worked fine until a few updates ago. Since December the running sessions looked like this, with a sharp jump always at the beginning.

But today with the 21.22 version, in my gym session I was down to 30 bpm. I didn't make any strange movements with my wrist and in fact my heart rate was 30 when I was at rest.