Content field error handling and date field sort