Use Datastore::run_query instead of run_simple_query.