fix archive bugs.

git-svn-id: https://plugins.svn.wordpress.org/custom-post-type-permalinks/trunk@843720 b8457f37-d9ea-0310-8a92-e5e31aec5664
update

git-svn-id: https://plugins.svn.wordpress.org/custom-post-type-permalinks/trunk@843721 b8457f37-d9ea-0310-8a92-e5e31aec5664