fix searching upwards for knife plugins