Fix: crash editing playlists due to cursor closing to soon