IDs fixed. WFs' offset and length attributes updated.