Fix for date binding.