Bug fix: When trying to pre-open a deposit without any input - an error
regarding deposit with ID 0 appears