Fixed being able to deposit more than Integer.MAX_VALUE, also fixed not being able to deposit noted items.