Model generated by the button now properly removes the in and outputs of the first and last column of nodes