Fixed the docs_version cookie

The docs_version cookie was partially checked for with a typo.