#1036 Fixed access rules checking, when sorting page content