Fix pointer logic in Google App Engine example