Do not try to foreach() if no items present