Fix partial URL matches