ECMS-6336 check and remove old data if 'override' parameter is true