v.25.8Bug Fix (user-visible misbehavior in an official stable release)

Comparison against nan value was not using

The comparison against nan value was not using the correct ranges during MinMax index evaluation. #84386 (Elmi Ahmadov).