As you know, this needs to be changed to ```if(solver->supportsGroup(jmg))``` or similar (including error report though.)