Detecting the same coin in different transaction at the same could be very challenging. All I can say is avoid accepting the one with only a "few confirms".