Updated code to fix issue related to listing of vendors.