--- calendar.module	2012-02-18 15:40:56.915624000 -0300
+++ calendar.module	2012-02-18 15:41:15.446406591 -0300
@@ -522,7 +522,7 @@ function calendar_granularity_path(&$vie
             $current_path = parse_url($_GET['q']);
             $current_parts = explode('/', $current_path['path']);
             foreach ($parts as $key => $part) {
-              if ($part == '%') {
+              if ($part == '%' && !empty($current_parts[$key])) {
                 $parts[$key] = $current_parts[$key];
               }
             }
