Improved isCurrentRevision(), tests included