That was a problem in earlier versions where sometimes the limit clause would end up being negative, the "LIMIT -35,36" portion. An upgrade will take care of that as well as a few other bugs.