Fixes incorrect display of progress value when a minimum is used. Includes unit test.