gitk: Fix selection of tags