Fixed bug in update of sequence lookahead followers in derivative