Fixed process_diff for empty local or remote results