Fix bool value for date