Fix canFind for non-range elements