Hi Juan,
I tried different options, tried some patches for the error but nothing seems to work. Unfortunately Rules is very unstable in Drupal 8.
You need to find another solution. Maybe make a module with the hook presave node to check the values and update them.