Removed sql aggregate functions from range filter.