Fix playlist parsing. Bug reported by Gustav Svalander.