Fix for rabbit_nodes variable scoping