Avoid error when checking for recent events against empty index.