This is a random and known bug, and can I strongly suggest that you don't put any large stacks of ciders in the bank, as you won't be able to take them out again if there isn't enough room in your inventory for them individually.