Document Library - files don't appear in list if they are replaced by a different user

Permalink
As above, here's a walkthrough to creating the issue.

1: Have files in the File Manager

2: Make a Document Library block to list those files

3: Have a different user go to the File Manager, and use the "replace" option on a file to create a new version of it.

4: That file will no longer be showing in the Document Library block. Changing the version of the file back and forth will make it appear.

So my thinking looking through the controller for the Document Library is that there's some sort of issue with the FolderItemList. Any file with an active version created by a user other than the original uploader will not be retrieved from the database when you call a FolderItemList.

I'm using version 8.4.4