Fix targetGroup patch #1209