diff --git a/core/DataTable/Filter/PivotByDimension.php b/core/DataTable/Filter/PivotByDimension.php
index 225a33f0bbdf3434127f14143e694fba0d56fc54..2f4e733ea0058d51759df5e086eb0a8a5fd06d76 100644
--- a/core/DataTable/Filter/PivotByDimension.php
+++ b/core/DataTable/Filter/PivotByDimension.php
@@ -452,7 +452,7 @@ class PivotByDimension extends BaseFilter
         $columnSet = array_map(function () { return false; }, $columnSet);
 
         // make sure label column is first
-        $columnSet = array_merge(array('label' => false), $columnSet);
+        $columnSet = array('label' => false) + $columnSet;
 
         return $columnSet;
     }
@@ -466,8 +466,8 @@ class PivotByDimension extends BaseFilter
 
         $currentIndex = 1;
         foreach ($defaultRow as $columnName => $ignore) {
-            if ($columnName == $othersRowLabel
-                || $columnName == 'label'
+            if ($columnName === $othersRowLabel
+                || $columnName === 'label'
             ) {
                 $result[] = $columnName;
             } else {