Fix bug in m3u scanner