No luck, after following the steps I still have the same result.
I'm hesitating to release the update of the app because of this, if it happens to me it could happen to a user too.
On a positive note, the iCloud backup and restore works perfectly. So there is no error with the file itself, just the query.