Make sure there actually are tags in the file about to be spliced.

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