Fixing #834: PowerIndexing fails wth numpy.int64