fix: handle empty FBs properly in TB and GL [develop] (#35190)

fix: handle empty FBs properly in TB and GL