Fix error loading reading history