remove a redundant type check in url_for override method
Merge pull request #10 from tiegz/urlfor_cleanup

remove a redundant type check in url_for override method