chg: [internal] Call array_values method just when necessary
chg: [internal] Call array_values method just when necessary

MISP/MISP,SteveClement/MISP,SteveClement/MISP,SteveClement/MISP,MISP/MISP,MISP/MISP,MISP/MISP,SteveClement/MISP,MISP/MISP,SteveClement/MISP