Fix bug in regular expression engine causing false negative matches

Affected regular expressions were those where the chosen atom had a {n} or {n, m} quantifier where n > 1. Example: /.b{2}/ didn't match "abb"