Fix manage rights: avoid pb with extended entities