Trying to fix missing C and V file actions

I don't really understand what the code did, but the code caused a lot of C and V actions missing from file revisions.

Any comments on this change would be appreciated.