Fix an invalid index when playlist is empty.
Solution file for Visual Studio.