Use parentheses to fix grouping of isActive for sockets.