Instead of using the container name from the lootItem action just use the name of the item. This will let the slave loot normally until it comes across the item it should not pickup (then it skips that container).