Fixed problem where entries in an upload would incorrectly overwrite entries and crash instead of updating properly