Applied petekalo fix for setup.py, massive bugfix for limit and order by instructions