Fixed race condition in creation of RemoveOkLogs entity