Fix for when there are no keys in the bots inventory causing the bot to crash on startup