Adds missing IDs