Fix how in-progress is calculated, so that it handles the case where everything is left blank.