Core: do not recalculate state weight after commands without data. If @sum is 0 it could not be increased via multiplying by 10 - skip this and use first state.
Merge pull request #531 from shaitan/routes

Core: do not recalculate state weight after commands without data. If @sum is 0 it could not be increased via multiplying by 10 - skip this and use first state.