Eng 7046 min max inline string

If finalize could be reworked in all cases to return the agg's m_value, when it could return an NValue& and the local result here could be declared const NValue& and you could save a couple of NValue copies.