Minor cleanup
Flip EDW sync to use max id from valid file table insstead of all file table (avoid losing slow files)