added compound index to "position history" to speed up show history position