I imagine it would be preferred that characters found someone in their year so switches don't have to occur later on when one or the other graduates, but with the large death rate of third and fourth years, different year partners are probably inevitable in for the older students.