Correct an bug introduced by 7d6eabf when fixing #175
Merge pull request #628 from twosigma/alee/fix-175

Correct an bug introduced by 7d6eabf when fixing #175