Updated to add index for isVendor field.