Fixed a crash when creating a new playlist