Fix conversion to int array
Merge remote-tracking branch 'upstream/master'