fixes logic to test for preferred_server != 'live'