AMBARI-6308 API: filtering by hostname does not work properly. (Buzhor Denys via atkach)