[hotfix] bug with seeds when there are no templates or no pages