KAZOOUI-238: Fixed a bug related to unknown agents_id