CRM-14996 - Fix display bug in adv search