1. A method of evaluating nested complex sequence pattern queries comprising: obtaining events from an event stream; evaluating the events within a first window using an outer query to produce outer partial results; determining a more stringent window constraint, the more stringent window constraint comprising a subset of the window constraint corresponding to events that produces the outer partial results; and passing the more stringent window constraint to an inner query nested within the outer query.