Checking with `to_i() == 0` to find is error-prone in case of strings that start with a number. E.g. "1bla".to_i => 1