Fix table link states