Fix bug with selectAll implementation.