Fix exception when music file count is zero