Bug #2764: Fix req and rank available host attributes
(cherry picked from commit f6cd1e33e867959c7cfa3d74da608952d248e414)