Fix bug in finish workout logic.