Fix a bug in proteins engine causing model divergence from time to time

[#48361595]