Performance fix

Changed all "==" to "===".