Fix exception that was occurring with Date Field Tyep