This way triggering thousands of warnings in the console and during tests. Removing it works because it seems that having item.disabled set allows to not having to use isItemDisabled.