1) fixed index temporal algebra. 2) fixed hasfirst and haslastsubevent vectors.