Linting Fixes.

Using Identity instead of equality operator.

And checking the the property exists on the for(x in y) cases loop. 

R