Fixing the anyvalue heuristic for binaryIndex