Fixing broken traces when running over buffers.