Fixes bug that causes the visit button to link to empty URLs.