HTML: Fix error calculating remaining with no stats