Fixed issue when multiple sub-admins were added in form building
Added test
Merge pull request #2325 from Bladrak/fix_multiple_subforms

Fixed issue when multiple sub-admins were added in form building