Fix a problem of bookkeeping of last built L1ID