fixes execution of nested Commands based on the new convention
fixed a minor bug that occurs when we have nested commands inside nested commands