Fixed donation batch foriegn key issue(#181)