Fix invalid submission bug #1897

This should fix the bug that causes the TA submissions table to not load. I forgot to filter out the invalid groupings when the TA was loading the submissions.
Sorry about that...