Fix for errors with undefined data

Happens when the bot dies and immediately restarts over and over thus
using all of it’s API quota.