I don't understand how.  The original code made sense - you say it is clean when disconnected because it's (by definition of dirty meaning out of sync with FC) cannot be dirty.

I'm fine if it creates the same result, but I don't see where you added code to filter this during disconnected elsewhere.