When looking for previous evaluation based operators which might have NaN in some argument, we must use NaN insensitive isequal. This is seen when working with optimization_operator, which has NaN in solver options.
Clean up
Reduce optimization_operator evaluations
Added new test