6ab29ab Fix build errors with empty array