fixes #290 where index names were not wrapped.