Fix for It in tags with no space

This fixes a problem with dropping delimiters when dealing with tags. Unfortunately, I could not add a test for this case as the output file for the basic test is way too big and I did not want to just copy over the test1.out file.