Fixes warning about index not being found

Another bug fix broken out of the Instagram plugin commit. Fixes an issue where warning were shown about the index not being found.