Fix history list order.