Fixed bug that occasionally crops up with unboxing numpy array for pi0