Correct for lastindex being None on singular non-named group