Use contextQueryForNames to select study ingroup.