Fixed issue where custom date formats would result in a blank value being read