I think that the problem was not use a strict comparison `===`