Fix for bug introduced when modifying playlist

+ Fix for bug introduced when modifying playlist