Check for data from Twitter before indexing into the data array