Fix error when the doctype doesn’t have multiple values