Upload with finished block consistency fix

Resolution to #22.