Bug fixes when commands fail and need to be redistributed.

Fixed two bugs. In one, the node queue size used an incorrect variable name. In the other, the command to redistribute to other nodes wasn't being populated.