Increase limit to max

Using the workaround here: https://mariadb.com/kb/en/why-is-order-by-in-a-from-subquery-ignored/