Read the type badge before you click. Search can return a contact and an artist with the same surname, or a contact and a producer with the same name. The row opens that record. You do not edit it inside the search box.
I opened the wrong person from search
Read the type badge. A contact and an artist can share a surname.