fix: [internal] Remove duplicate conditions for object restSearch
fix: [internal] Remove duplicate conditions for object restSearch

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