Strict type comparison for strings and .indexOf() results