Add debug flag, and log instance list before comparison.