Null ids were used as the real id, causing conflicts