Don't crash when shuffling empty arrays