correct truthiness of arrays