Fixed issue for partner submission.

Fixed an issue where a partner would get the submission number of the
other partner instead of their own latest submission number.