GUI: fix equal function in CRM view