Fix auto submission metadata

I missed some logic in this query, it should be checking for only 1 submission in this phase **by the participant**, not overall!