added error check if instructor is viewing submissions but has no squad