Fixing problem with bad URL reading causing exceptions.