Fixed bug with tags selection

Signed-off-by: Mathias Kaufmann <me@stei.gr>