IMHO this check doesn't belong in this method. It should probably be in `serializeChoiceWidget`