Stricter type comparisons for indexOf results

Improved `indexOf` comparisons ` == -1` --> ` === -1`