improve check for pending/unresolved Packrat state on new session