[PRD-1997] fix filter_nodes emptiness clause
Merge pull request #638 from Mirantis/prd1997

[PRD-1997] fix filter_nodes emptiness clause