It would be difficult to respect a filter because the macro would not know what value of find order to start with, since we could not necessarily use the last value entered as the starting point. I'd rather not complicate the GUI by adding an entry for a "start with" number that will only lead to support headaches.
I'm not sure what you mean by "repair", but the macro does not overwrite existing values in your selected find order column. In other words, if you delete the existing values for just the caches you want to update (Database>Global Replace), the macro will only update those caches. However, the starting point may not be correct for the reasons noted above.
An alternative would be to use this macro to copy the logID's to a user data column, filter for caches found on the date you want to change, sort by logID in user data, then manually edit the find order column as needed to correct the order.
I'm not sure what you mean by "repair", but the macro does not overwrite existing values in your selected find order column. In other words, if you delete the existing values for just the caches you want to update (Database>Global Replace), the macro will only update those caches. However, the starting point may not be correct for the reasons noted above.
An alternative would be to use this macro to copy the logID's to a user data column, filter for caches found on the date you want to change, sort by logID in user data, then manually edit the find order column as needed to correct the order.