Tried to fix problems with logical clocks