ECMS-5923: [ECM Admin] [Add/Edit Query] Exception thrown when selecting permission