(ITS#6617) back-sql: 64-bit parent IDs get munged