SELECT command doesn't update data.desttab.stats

Not sure if this is a bug or intended behavior, but when I select files in the destination tab, the stats for that tab do not update.

Is there a way to force the tabs stats to refrseh/is this a bug?

Thanks.

Example code:

if data.desttab.stats.selfiles = 0 then
	cmd.SetSourceTab(clickdata.func.desttab)
	cmd.RunCommand("SELECT ALL")
	cmd.SetSourceTab(clickdata.func.sourcetab)
end if

if data.desttab.stats.selfiles = 0 then
   msgbox "Selected all files, but selfiles still 0!"
   exit function
end if

if data.desttab.stats.selfiles <> data.sourcetab.stats.selfiles then
   msgbox "The number of files dropped must equal the number of files selected in destination pane."
   exit function
end if

Yes, use the Update method.