Only remove the first section tag

If there isn't a first section tag present, still append the stub section into the
tags array.