added adefault values to the function fromFilterToQueryConditions to allow one parameter