fix: [API] fixed an incorrect fix to the object references add function from earlier today, fixes #4866
fix: [API] fixed an incorrect fix to the object references add function from earlier today, fixes #4866

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