Eng 7046 min max inline string

It sounds possible to do the NValue assignment before returning for COUNT, COUNT(*), AVG() and return m_value instead. 

However, I made a new commit to resolve the other comments and delay this "supposed" performance problem later.