more txn focused operations: getting first and last txns for elements