Updating query to look at affiliate details for matching fields
Fixing front end of affiliate search so that matching results display correctly