Fixed another case that generated an error on the item resource functionality