Fix empty title in history