Fix setting preferred stores.