Handle the possibility that playlist is empty