Fixed a bug that was causing the add-revision command to fail.