Fixing references to $this in ::groupjoin