make sure that all playlists are in playlist.all_playlists, and fix args for _.indexOf