Set null values to false when saving from client side