the to_params methods of models did not accept boolean fields with false as value