Two-step percolation in aggregating systems