add archive_type parameter to archive url;
NOTE: change wordpress source code