Fixing versioning check when reverting versions of non-RDF resources

Fixes https://www.pivotaltracker.com/story/show/81615202