Multiple Inequalities in Google AppEngine