Remove all occurrences of 'ku' in arrays