Fix some regressions in playlist editing.