Fixed newly introduced bug for patterns like /(?:(b))++/, where the capturing was happening, but not setting the correct return code.