Fix: Bad date ranges

Conflicts:
	scripts/invoices/rebuild_merge_pdf.php