Fix sub-grammars for strings where inner is empty