Exclude comparisons between the same MAJOR_CODE and MINOR_CODE
Removed stupid comments in all()