Fixes a bug where the bot would crash if location data wasn't found