Refactor tag selector for issues