Reverted changes, debug shows the problem lies within the inventory.