Add --filter-term-by-sql option for GAF export