Fixed double ids in treaty template