Prevent search index failure on invalid date value