fIxed bugs with saving customer upload records due to foreign key site added.