CLC-3568 Work around Rails 4 date conversion bug