FunUtil.compareValues() was returning 0 if either argument was valueNotReadyException.  This was causing issues when adding keys to a Map, since the two items were being treated as equal.  This was specifically causing intermittent failures with FunctionTest.testRankWithExpr2, depending on the state of the cache.