Improvement on searching algorithm - search on preferredname if available regardless of public setting