Fix history links