The fence did not connect with the block since the block next to it are stairs. Since stairs don't connect with Stairs or Half-Stebs, they don't connect.