## Bug Report #### Steps to reproduce - Create a file structure deeply nested (folder with subfolder) - Create a custom side bar. - Initialize Search plugin with `search: 'auto'`. - Try to Search for content #### What is current behaviour Console shows the following error, search does not work.  #### What is the expected behaviour - Search does work #### Other relevant information - [ ] Bug does still occur when all/other plugins are disabled? - Your OS: MacOS - Browser version: Google Chrome 79.0.3945.117 - Docsify version: 4.10.2 - Docsify plugins: Search Plugin