Migrate plugins to use Datastore::run_query instead of run_simple_query.
Datastore::run_simple_query has been deprecated.