Fixed an issue with incorrect cell connections