use !== vs != in test

I noticed that the test should be using !== vs != since we dont want to do any type conversion