Fix a bug of DoubleArrayCompletionCursor.