Fixing invalid offsets in index buffer

Adding some debugging to help determine why adding an additional link is
failing