Fixes bug with losses being incorrectly tallied