Join has ID corrupted