is-master-down-by-addr returns an integer for is_down. The code was expecting a string.