Fix some corner cases using urlize template filter. Fixes #20