Minor fix (skipping one uneccesary request in single-threaded --first/--last mode)
Minor bug fix (for --first/--last through problematic DBMSes)