Fix chaining nil scopes