Fix progress propagation

Closes #200.  Thanks to @depeele for identifying the problem, providing a test case, and helping to work through it.