[#805] Use either code or name property when comparing projects