add better coverage to sql filter