Fix wrong displaying categories files in the files index page
fix #46