Correct URL validation bug