Fixed dirty check to include files added to index