Fix typo in registration to include name into search order