Fixed issues with versioning not working for documents and audios