Ensure indexes in 'events' collection