Fix error when item in list changed its id