Fixed an issue with percentile filter.