The indexing bug is discussed in [#16260](https://github.com/scipy/scipy/issues/16260). To my knowledge this issue has not been work on or resolved at all yet. A fix plus unittest is needed as this is a documented core feature of shgo.