Fixes KeyError in retweet visualization example

Fixes an issue where a search query may not return any results or not as
many results may exist as expected, which manifests as a KeyError