Updated local_min_max filter so that class members are protected instead of private.