Fixed bug with incorrect indices with connections.