Fix link in history.
Fix missing indexes.