Fix check for iterable vars