Fix broken argument order in zts mode (thanks Jenkins!)