it would have happened regardless, she still had the same name.
No, it would not have happened. Her name came up because it was in the system - warrants are not issued by searching some non-existent general database of all citizens.
Warrants are issued by searching police databases of convicts and arrestees, of which she was one.