Just helped a reseller yesterday fix dates in AR_InvoiceHistoryDetail after receiving a call about PTQ tables not working as expected. Luckily you had an easy time finding the bad dates. Very difficult for me. I have resorted to dumping dates into a CSV via VI Export (Yes, Virginia, there really is a use for the Export module), then opening it in Excel, then filtering the dates (there were 250K records yesterday. I've had the issue periodically as well.