Added procedure to avoid false positives by checking, whenever there's a status change, that a couple of consecutive logs have the same status