Fix null context errors with isActive

Needed for: https://github.com/emberjs/ember.js/issues/3180
Query param support