Setup targetGroup filter before table creation (#794)