Fix performance regression in song collection comparison [#2]