proper handling of integers/logicals in any_na; small tests