diff --git a/Code/Mantid/Framework/Algorithms/src/GenerateEventsFilter.cpp b/Code/Mantid/Framework/Algorithms/src/GenerateEventsFilter.cpp
index 18af7891a8aa10736abd4911d388bb39abaa0785..7fcf4a1fd5b7729fef18f0f576dd05eea1fb610a 100644
--- a/Code/Mantid/Framework/Algorithms/src/GenerateEventsFilter.cpp
+++ b/Code/Mantid/Framework/Algorithms/src/GenerateEventsFilter.cpp
@@ -1163,7 +1163,7 @@ namespace Algorithms
         g_log.debug() << "[DB] Entry[" << i << "] = " << currvalue << ": out of range. " << ".\n";
       }
       else if ((i == 0) || (i >= 1 && ((filterIncrease && values[i] >= values[i-1]) ||
-                                       (filterDecrease && values[i] <= values[i]))))
+                                       (filterDecrease && values[i] <= values[i-1]))))
       {
         // First entry (regardless direction) and other entries considering change of value
         if (singlemode)