Processmanager:fix selecting right client