SIO-1319 Fix #2 an error while generating a plot for users without submissions

Change-Id: I0f56c7def96c2d3534a16889f51d96f2f5ed918a
Merge "SIO-1319 Fix #2 an error while generating a plot for users without submissions"