Changes for duplicate check on ERA.