Added clauses to WGS log filtering