Fixed duplicate transaction exploit