correctly record completion of cust_pay.paybatch upgrade, #18548
treat custom field names as lowercase, #22439