Fixing a minor bug in the switch cell initialization code.