Begin fixing bugs in finding duplicates