Check for duplicate commands in combine force.
Removed some duplicate code.