Minor Fix to any-time minmax to reduce effect of bug