fixed an issue where the referenced_type was not an integer.
fixed an issue where the referenced_type was not an integer.

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