Issue #2928778 by plach: Exception when trying to save a new revision after manually setting the original revision ID