YH-301: Ensure wait value is integer