[MRG] Bug with zero-sized arrays