Well the question is why unless this is a bot trying out urls?
That query in the code is only ran from member.php in the verification email for a registration and in the link in the email we pass the uid so its not empty
Content visible to verified customers only.
Therefore I think this is just some bot trickery and not an issue. Your users would definately have the correct url.