fix where operation is executed by mongodb itself (eg: replication ops)

when an operation is executed by mongodb itself (eg: replication ops) there is no 'client' field.