migrate to sqlagg filters