Improve documentation for GREATEST and LEAST