Fix up set_rhosts for all db commands