Fix 'newCorpusForUser'' helper
This commit fixes the helper I have introduced a few commits ago, which was creating a new corpus for the user but it was returning to the latter only the oldest created, not the newest. That triggered a few bugs in the codebase.