Fixing StudyAnalysisView null contents error