Fix for AccessControl on embedded documents