Fix UrlType to allow only null/string values