Fix connection.scan for parallel scan segment 0