Fixed bugs in customer duplicate find