schema: Fix schema id for Unit delete