Fix iterator on stylesheets