Added check to make sure only new or changed Bags (based on presence of checksum in database) are deposited.