Fix Boolean should be compared strictly