A bug in get_highest_revision_number() prevented RedCan to create more then 10 revisions