fixed migration for non public pages
Merge branch 'fix-2527' into develop