Fixed issue if field was left blank.

If field was blank it would display "invalid URL"