Fixes in NodesController when params are not passed