Fixes an apparent context bug with Invariant

Invariant wasn't being called with the spec's context
2.5.1