[-] CORE : Fix warning  when result from query is not a ressource