Fix broken foreach loops in views_plugin_cache.inc