(toQueryParams): Added support for IS_NULL and IS_NOT_NULL.