Fixed a bug, introduced by replacing == with ===