Made foreach work with nullable iterables