Wrong parameter. Should be "tags", not "tag".

Use url_for while at it.
Use url_for instead of string.

Slower but more correct.