DB: fix errors in number argument to find_jobs

The MySQL driver uses %s as the placeholder.
DB: fix errors in offset option to find_jobs

The offset and limit should be separated by a comma in the SQL
query.  The MySQL driver uses %s as the placeholder.