analyzeSongHistory isNaN check