Better fix #286: use tag slugs for URLs, queries

Tag names are now only used for display.