Fix batches key look-up in event storing.