engine : Fix issues with ActionGroup

The changes made in 1c23ff57d14b531427d causes
issues in frontend while displaying the list of
permissions in new/edit role dialog

Change-Id: Ie60948707b4d5809b79e5a66c733f4dc96f9596c
Bug-Url: https://bugzilla.redhat.com/1138732
Signed-off-by: Ravi Nori <rnori@redhat.com>