Fix compute python issue where first element was not being used