I am having a problem with conditionally displaying tabs inside a section in a f

I am having a problem with conditionally displaying tabs inside a section in a form.
For the tab titles, I have ="Package ID - " & pv!reqPackageList[1].package_id and ="Package ID - " & pv!reqPackageList[2].package_id.
On the tab display, I have defined "Only show this tab when..." as =if(isnull(pv!reqPackageList),false(),if(isnull(pv!reqPackageList[1]), false(), true())) etc
But even when the reqPackageList is empty all the tabs get displayed with error. What am I doing wrong here?...

OriginalPostID-93373

OriginalPostID-93373

  Discussion posts and replies are publicly visible