wip: fixed bugs that appeared with Objects support
wip: fixed bugs that appeared with Objects support

Rafiot/MISP,TheDr1ver/MISP,devnull-/MISP,SteveClement/MISP,FIRSTdotorg/MISP,SteveClement/MISP,SteveClement/MISP,Rafiot/MISP,TheDr1ver/MISP,Rafiot/MISP,FloatingGhost/MISP,TheDr1ver/MISP,devnull-/MISP,Rafiot/MISP,TheDr1ver/MISP,SteveClement/MISP,devnull-/MISP,MISP/MISP,MISP/MISP,FIRSTdotorg/MISP,FloatingGhost/MISP,SteveClement/MISP,MISP/MISP,devnull-/MISP,FloatingGhost/MISP,MISP/MISP,FloatingGhost/MISP,FIRSTdotorg/MISP,FIRSTdotorg/MISP,MISP/MISP