Added check for duplicate transaction id