BugFix: Avoid to compare hashes belonged to the same file.