allowing interchanging data and select, fixes frappe/erpnext#1734