Added check against _state before state to handle deprecation warning in Ember 1.5.1+