Avoid duplicate transaction hashes during validation