[DROOLS-106] Using the same pattern in and out of a sliding windows causes an NPE if a join is involved