Fixed boundary value cases in `Delete` and `DeleteAt` in Vector.