Improved find() to find in descending order when min>max; Add endpoint
options.