Fix preferred network mess up