CRM-13725 - don't look in custom values if there aren't any.