diff --git a/core/ArchiveProcessing.php b/core/ArchiveProcessing.php
index <HASH>..<HASH> 100644
--- a/core/ArchiveProcessing.php
+++ b/core/ArchiveProcessing.php
@@ -994,7 +994,7 @@ abstract class Piwik_ArchiveProcessing
 	
 	public static function isArchivingDisabledFor($segment, $period)
 	{
-        if($period == 'range') {
+        if($period->getLabel() == 'range') {
             return false;
         }
         $processOneReportOnly = !self::shouldProcessReportsAllPluginsFor($segment, $period);
Refs #<I> - Piwik_Period's toString method does not return the type of the Period and a "Array to String conversion" notice is triggered. So we use the getLabel accessor.