Fixes progress bars going pasts 100%

Progress bars would go past 100% in some instances.

![screen shot 2013-05-11 at 11 04 13 am](https://f.cloud.github.com/assets/162970/492829/b1cb6a70-baf4-11e2-9b14-f13172169bca.png)