Ensuring quality is between 0 and 50 after increase/degrade its value,
so it's no longer need to check the value before updating it