Calculator: better guard for no-ops.

The old gaurd was kinda whacky (and wrong) and inverted all the logic.
So we'll dump out early when we recognize that no operations will be
done.
Merge pull request #729 from mwmiller/tautology

Calculator: better guard for no-ops.