Fixed bad computing of event during normalized matching.