Fixed minor bug that missed the conversion of a date column

… and removed the legacy function