Fix bug where (a{2})* was reduced() to a*

Closes issue #3