fixing an issue related to dirty flags being set after the result of a find.