Index default value

Hi,

I have this code where if the index points are not returned, it should return the default value. But instead it returns empty data.

How do I make sure that the default value is returned

a!localVariables(
  
  local!address1: {{id:1},{id:2}},
  local!mdmAddress:{{id:5,name:"abc"},{id:3,name:"pqr"}},
  
  index(local!mdmAddress,
  wherecontains(local!address1.id,local!mdmAddress.id),"Hello"
  )
 
)

  Discussion posts and replies are publicly visible