Fixed bug breaking things when playlist ends.