minor fix in report
diff --git a/erpnext/selling/report/sales_person_wise_transaction_summary/sales_person_wise_transaction_summary.py b/erpnext/selling/report/sales_person_wise_transaction_summary/sales_person_wise_transaction_summary.py
index e102f0d..65b0c08 100644
--- a/erpnext/selling/report/sales_person_wise_transaction_summary/sales_person_wise_transaction_summary.py
+++ b/erpnext/selling/report/sales_person_wise_transaction_summary/sales_person_wise_transaction_summary.py
@@ -50,10 +50,14 @@
 	conditions = [""]
 	values = []
 	
-	for field in ["company", "customer", "territory", "sales_person"]:
+	for field in ["company", "customer", "territory"]:
 		if filters.get(field):
 			conditions.append("dt.{0}=%s".format(field))
 			values.append(filters[field])
+			
+	if filters.get("sales_person"):
+		conditions.append("st.sales_person=%s")
+		values.append(filters["sales_person"])
 		
 	if filters.get("from_date"):
 		conditions.append("dt.{0}>=%s".format(date_field))