Fixed issue with playlists failing to save in some situations