Fixes error on the playlists functionality