cardlg: fix for init index crash with active filter