### If country is belgium, check if there is an apostrophe in middlenames, if so, search for last name both with capitalized and lowercased last name
if (country=='be'){
if (T%in%str_detect(actor$`_source.middleNames`,"'")){
lastname<-paste0('(',actor$`_source.lastName`,' OR ',actor$`_source.lastName`,genitive,' OR ',tolower(actor$`_source.lastName`),' OR ',tolower(actor$`_source.lastName`),genitive,')')
lastname<-paste0('(',actor$`_source.lastName`,' OR ',actor$`_source.lastName`,genitive,' OR ',tolower(actor$`_source.lastName`),' OR ',tolower(actor$`_source.lastName`),genitive,')')
}else{
lastname<-paste0('(',actor$`_source.lastName`,' OR ',actor$`_source.lastName`,genitive,')')