Fixed an issue in the upload form and the schema collection policy.