Function where_equal
Add specific field names when joined tables are present