Fix bug in content revision and timestamping