Fixed inverted url matching