Fix element icons on history