Bulk Upload: Fixed a bug in the error count introduced by the last commit.