Fix bug where entering a full url would not match anything even though it should.