analyzeSongHistory fix