Fixed a bug in the way percent exercise completion was determined