Do you have 5000 keys in the bank? If so, setting the number even higher (like 999999) might do what you're looking for?
It's probably going to the bank for more food, seeing the keys and assuming they should be used.
If I were going to make a change here, I'd want to fix the issue where it...