Fix rate update with invalid values