find wrong vouchers
diff --git a/patches/october_2012/find_wrong_voucher.py b/patches/october_2012/find_wrong_voucher.py
index ce744c6..8acc278 100644
--- a/patches/october_2012/find_wrong_voucher.py
+++ b/patches/october_2012/find_wrong_voucher.py
@@ -2,8 +2,8 @@
 	import webnotes
 	vouchers = webnotes.conn.sql("""
 		select parent, parenttype, modified from `tabPurchase Taxes and Charges`
-		where modified >= '2012-10-02'
-		and (category = 'Total' or category = 'Valuation')
+		where modified >= '2012-07-12'
+		and category = 'Valuation' and tax_amount != 0
 		and parenttype != 'Purchase Taxes and Charges Master'
 	""")
 	print vouchers
\ No newline at end of file