Fixing issue #321.
Bug was happening when the url was null