Fix for sidepanel documents numeration