Fixed collections uploads from database for ES 1.0