Add search tags recursively upwards