Fix the duplicate ids on the page issue with DateTime fields