Fix empty range error in ** quantifier