When you print a 941 from within the AMS Payroll menu, you will be presented with a menu called "941 Control and Signer Information". Make sure the option "Print line 17, even when not required" is not marked. If it is, line 17 will print regardless of the requirements.