Fix Bug with inline tags in compound tags

Whenever there was an inline tag in a compound tag, it would consume one
too many chunks.