Fixed url matching when reverse_lazy() is used

As requested in #5, sending pull request to fix issue with reverse_lazy().