Fix comparison of 0-sized arrays.