Update libraries/cms/form/field/user.php

Simple solution to filter user by group. In the XML form use attribute groups with values separated by comma.