Call isStackValidForSlot when inserting.