Fix bug when there are unset groups prior to (*ACCEPT) within a capturing 
group.