Fixed misterious error 500 on AppEngine.