Improve the differences report functionality