Flipping around to_string conditions