Fixes warning about index not being found
Merge pull request #1774 from AaronKalair/twitter-warning-fix

Fixes warning about index not being found