Do not pay your payroll liabilities from the "Write Cheques" window. If you use this window, QuickBooks will warn you to use the "Pay Liabilities" window, but will let you write the cheque.