Fixed bug when selecting vendors with apostrophes