mongo_nodes is array. so we should check empty or not