Fix an order of operations issue.

Fixes #88