Nesting Tags List in an Asset listing

That’s because global keywords are processed last, at the top level, not when each type format is processed for listing an asset in an asset listing, so in that case the {asset_assetid} relates to the top level %globals_asset%.

2 other ways you could try:

Nest in the 2nd asset listing and use the List Current Asset ID - Asset Listing - Manuals | Squiz Matrix 5 Documentation method.

Or use SSJS and do something like this: Problems with keyword replacement values as modifiers - #5 by tomstringer