Fix tag check-in logic

The indentation in this code did not mean what you probably thought it
meant.