AMBARI-6097 filtering hosts causes pagination number to go negative. (Max Shepel via atkach)