I think you want strict equality here to validate that the two objects are definately not the same thing. (===).