fix: [API] invalid object reference fixed in objects/view, fixes #5003
fix: [API] invalid object reference fixed in objects/view, fixes #5003

- the Copy Pasta God(tm) strikes again

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