Modified the filterParameters logic on the backend to support numerical types