Revert "setting dirty flag slightly less aggressive"

This reverts commit 7509acae2e5bc142e17bc4c4f182b87320507936.
extended condition