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

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