We use search / replace, with a color option (eg URLs), this color exists in the document, I have this problem with another script but in the replacement "app.changeGrepPreferences" ... not too seriousI delete the colors my explanation is an indesign tools to the setting of the colors without being in the documents and recreates it!

But there, in search of the script it in the option "app.findGrepPreferences.fillColor" it renome the colors and therefore never find it !!