Fix bug in BodyChunk.splitAt method