Index: /trunk/EventBenchConsole/src/de/ugoe/cs/eventbench/windows/SequenceSplitter.java
===================================================================
--- /trunk/EventBenchConsole/src/de/ugoe/cs/eventbench/windows/SequenceSplitter.java	(revision 413)
+++ /trunk/EventBenchConsole/src/de/ugoe/cs/eventbench/windows/SequenceSplitter.java	(revision 414)
@@ -61,4 +61,11 @@
 	/**
 	 * <p>
+	 * Type of the previous message.
+	 * </p>
+	 */
+	private int prevMsg = 0;
+
+	/**
+	 * <p>
 	 * Constructor. Creates a new SequenceSplitter.
 	 * </p>
@@ -70,4 +77,5 @@
 		tokenGenerator = new EventGenerator();
 		actionSequence = new LinkedList<WindowsEvent>();
+		prevMsg = 0;
 	}
 
@@ -101,5 +109,14 @@
 			}
 		}
-		currentSequence.add(msg);
+
+		// this fix checks if there are two consecutive mouse-down messages.
+		// This sometimes occurs due to incorrect filtering in the monitoring
+		// dll.
+		if (!(prevMsg == MessageDefs.WM_LBUTTONDOWN && prevMsg == msg.getType())) {
+			currentSequence.add(msg);
+		} else {
+			openDowns--;
+		}
+		prevMsg = msg.getType();
 	}
 
