casting null and empty values to false.