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

Tag names are now only used for display.
Fix #286 again: get actual tags rather than just their slugs