bugfix in tag query mapper for used tag retrieval