Issue #2335547 by DanChadwick: Fixed When viewing a submission, private components may be shown inappropriately and classes omitted.