Fix SmartPlaylist edit (fix #452)