Fix bug in sequence conditions management