Verify that a setting is an array before iterating over it.

This was causing large volumes of errors in at least one user's WP error logs.

git-svn-id: https://plugins.svn.wordpress.org/reftagger/trunk@861180 b8457f37-d9ea-0310-8a92-e5e31aec5664