Fix to cloning cursor.