Make sure there actually are tags in the array.

Without this, a file with only the echoing tag type would get stuff
spliced in the wrong place.