Improved args validation for zph