Fix an issue with submission selection by just using the index of the selected submission.