MDL-46044 Assign: Modify myhome query to only use the maxattempt from the submission

Using mismatches from the submissions/grades tables does not make much sense, we
should always only consider only the maxattempt from the submissions table.