Added null-check on transactionIdentifier