Fixed Cursor to be 1-based index