Fix tag logging, closes #16