Fix crash when attempting to remove a playlist entry from empty playlist