restore duplicate customer checking with 3.x locations, #16582