makes the eloquentfilter more flexible