cast blank into nil for non string columns in conditions_from_params