Issue #340 - add checks for the value of the progress