Fix issue when multiple users have the same name.