Sidebar not showing all pinned/draft/finished documents

This doesn’t happen frequently but it has been happening for a long time in which documents that are not top level doesn’t show on the sidebar even if I ticked the box to mark them as pinned/draft/finished. I have attached a screenshot as example (the document is called quesmed)