MT#8329 make allowed_clis also contract preference.