Fix bug with rounded lastCommandTS