Issue #2203877 by DanChadwick: Fixed divide by zero when no submissions

- Or when zero components