Bugfix for multible foldergalleries on one page.