I am currently working on stacking things in a rack by item type and the code I am using doesn't seem to be working the way it was intended. I believe the issue is that the function rackgetitembybaylevel does not get a reference to the item.type. Is that correct? And if so how would I go about checking a bay/level in a rack if the item to be stacked has the same item type