hai anche confrontato l'ID che passi con quello del record che ti restituisce?