Ah, right. That does make things quite complicated. But it might be doable by using the item# within the custom state list. Have you tried this?