AMBARI-4088. UI doesn't select all hosts on Assign Slaves step sometimes. Additional patch. (alexantonenko)