Remove unnecessary #to_date