Adding capability to filter contacts based on registered ids.