Correcting duplicate records in some views.