Bug fix: RE in Suffix Array