Fixed bug in Deposit model object