Fix actAs agent reference (#4859)
Fix actAs agent reference (#4859)

* Fix act as agent reference and group DAO

* Cleanup imports
foam-framework/foam2,foam-framework/foam2,foam-framework/foam2,jacksonic/vjlofvhjfgm,foam-framework/foam2,jacksonic/vjlofvhjfgm,jacksonic/vjlofvhjfgm,foam-framework/foam2