This concept is pretty common, that even the good deeds have to have a good measure - too much good for people and you spoil them, for example:
The Torah says (Dvorim 32):
"חֶמְאַת בָּקָר וַחֲלֵב צֹאן עִם־חֵלֶב כָּרִים וְאֵילִים בְּנֵי־בָשָׁן וְעַתּוּדִים עִם־חֵלֶב כִּלְיוֹת חִטָּה וְדַם־עֵנָב תִּשְׁתֶּה־חָמֶר׃ וַיִּשְׁמַן יְשֻׁרוּן וַיִּבְעָט שָׁמַנְתָּ עָבִיתָ כָּשִׂיתָ וַיִּטֹּשׁ אֱלוֹהַ עָשָׂהוּ וַיְנַבֵּל צוּר יְשֻׁעָתוֹ׃
"Curd of kine and milk of flocks; With the best of lambs, And rams of Bashan, and he-goats; With the very finest wheat— And foaming grape-blood was your drink. So Israel grew fat and kicked— You grew fat and gross and coarse— He forsook the God who made him And spurned the Rock of his support.
A similar example is brought in the Midrash () that the gold that Hashem gave the Israelites in Egypt before the Exodus was used later to create the Golden Calf.
Therefore some חסדים can turn out to be actually bad and we pray for Hashem to give only "the good ones".