Trying to fix TransientError

Used advice from this page:
http://stackoverflow.com/questions/11178629/transienterror-with-google-app-engine-search