allows export with filtered query