Fixes #5583: allow multiple agent in inventory for a node