Replaced getAllTagNames() with more universal search() in TagRepository