Inserted .text attribute of deposit_details instead of object reference.